﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleFactoryPattern
{
    /// <summary>
    /// 具体产品角色ConcreteProduct (BulbLight, TubeLight)：定义工厂具体加工出的对象。
    /// </summary>
    public class BulbLight : Light
    {
        public override void TurnOn()
        {
            Console.WriteLine("Bulb Light is Turned on");
        }

        public override void TurnOff()
        {
            Console.WriteLine("Bulb Light is Turned off");
        }
    }
}
